package net.wanho.mapper;

import net.wanho.po.Unit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author Administrator
* @description 针对表【unit(规格单位表)】的数据库操作Mapper
* @createDate 2025-04-28 11:41:58
* @Entity net.wanho.po.Unit
*/
public interface UnitMapper extends BaseMapper<Unit> {

    @Select("SELECT unit_name FROM unit WHERE unit_id = #{unitId}")
    String selectUnitName(Integer unitId);
}




